GLDriver: create a shared header for including opengl

instead of having that large macro at the top of every file
this also adds support for compiling for the iOS implementation of OpenGL ES 2
Xcode: fix iOS build and switch to OpenGL driver