Merge pull request #7450 from stenzek/glcontext GLInterface refactoring/cleanup and runtime platform selection