examples/gl/qt: silence compiler warnings
-Waggregate-return: used by some Qt clases extensively and not super useful for this example. Supress it.
warning: "GL_GLEXT_VERSION" redefined: Perform the same workaround as qmlglsink by defining the old gl/GL.h header guard if the new GL/gl.h guard exists.