Crash when apps enable XR_KHR_visibility_mask with inprocess builds
If an application enables the XR_KHR_visibility_mask
and invokes xrGetVisibilityMaskKHR
while using an in-process builds of Monado, a null-pointer def crash will occur because xrt_device::get_visibility_mask
is typically null, in out-of-process builds when this callback is null a default implementation is invoked (u_visibility_mask_get_default
) but this only happens in the IPC server handler.