Fix xcbgrab build if shm is not available.