* When compiled with USING_GLES2, attempt to use only valid ES context
versions.
* Ensure that lower profiles are attempted correctly rather than
prematurely returning from the function after the first failure.
Needed for Raspberry Pi to successfully launch.