OpenXR: Improve the validation in the API function for `xrGetInputSourceLocalizedName`.