Implement support for SDL_GL_GetProcAddress

This commit is designed to work with the OpenGL function loader at https://github.com/bjz/gl-rs.