winsys/xlib: Fix a segfault when USE_XSHM is not defined.