Respect the QSurfaceFormat when constructing a QOpenGLContext on Mac