X11: use GLX_EXT_swap_control and GLX_MESA_swap_control for vsync