gl: detect possible GL version prefix
Instead of checking if the requested GL API is GLES2 (because ANY can be set) the string is matched with the GLES2 prefix, and if so, then the string is offset.
Instead of checking if the requested GL API is GLES2 (because ANY can be set) the string is matched with the GLES2 prefix, and if so, then the string is offset.