This lets the user to correctly detect current vsync state by reading SDL_RendererInfo. Also fixes SetVSync's return value check (it may be positive for error too). (cherry picked from commit d78072fcd46943288a6007cd6f4ab1f98f446b1d)