Better detection of graphics mode on Android.
This fixes crash when resuming app after sleep on HTC One X (EglException: MakeCurrent failed with error 12297).
Throwing NoSuitableGraphicsDeviceException if failed to create frame buffer.
Merge pull request #2627 from Andreyul/android_graphics_mode

Better detection of graphics mode on Android.