qpa: Refactor platform OpenGL context code
Currently, our implementation of QPlatformOpenGLContext is split into two parts. However, there is no any concrete reason why things are that way. This change merges both classes into one in order to make extending our platform OpenGL context class easier.