Avoid more #ifdefs in the OpenGL backend.

Add a file containing ad-hoc macros to hide conditional compilation in
the opengl directory.
Refactor ogl_unlock_region_old_gles.
Factor out Android 2.1 workaround in ogl_clear.
ogl: Wrap a couple of long lines.