mesa: Enable GL_MESA_framebuffer_flip_y for GL 4.3
Extend MESA_framebuffer_flip_y so it can also be used with OpenGL versions 4.3 and higher. OpenGL 4.3 adds glFramebufferParameteri
needed by this extension.
This extension is extremely useful to avoid upside-down content when rendering into gbm_bo
s through GL FBOs, and scanning out these buffers directly via KMS. In our use case, we use GL core rather than GLES. I have tested this with daniels/kms-quads!5 (merged), which documents and addresses the y-flip issue when going through user framebuffer objects rather than system framebuffer objects. Note that !624 (merged) is needed when testing this patch with kms-quads
with GL.