ogl: Move GLES locking implementation to separate file.
ogl: Move FBO handling to separate file.
ogl: Refactor setup_fbo.
ogl: Make ogl_new_fbo return NULL on failure.
ogl: Use a common set of macros which alias GL symbols on GLES.