Add support for VSYNC
Requires an X11 driver change that will come soon.
Currently requires DRI3_VSYNC=1 to be set in the environment, this will become enabled by default at some point once it's confirmed not to cause any serious performance problems.