Add a helper function to get a xcb screen from a screen id.
Add new helper functions managing the shm segment with xcb to xhelpers.