avdevice/xcbgrab: Fix offset support