X11: use GLX_EXT_swap_control if available