configure.ac: Allow OpenGL ES1 and ES2 only with enabled OpenGL