Change vsync using SDL_GL_SwapInterval

This makes changing vsync work in-game, without recreating the window.

It seems to work okay on Intel with a non-compositing wm, but vsync on Linux is black magic enough.

Getting EXT_swap_control_tear to work is as easy as changing things to a -1, but I've left things without it for now.