Misc: Fix compilation with NO_VSYNC_OPENGL_GLSL / NO_C2

Fix compilation with NO_VSYNC_OPENGL_GLSL / NO_C2.