add EGL_RENDERABLE_TYPE to OpenGL attributes

This patch adds EGL_RENDERABLE_TYPE=EGL_OPENGL_ES2_BIT to the OpenGL attributes.
The default value for this setting is EGL_OPENGL_ES_BIT and, as we require ES 2.0,
cause some problems on various Android devices (e.g. Amazon Kindle 2.Gen).
Merge pull request #3769 from michaelcontento/android-fix-opengl-config

[ci skip]add EGL_RENDERABLE_TYPE to OpenGL attributes