linux-capture: Xshm plugin xcb conversion

This patchset ports the xshm capture plugin from xlib to xcb.