add (optional) GLES 2.0 support in glide64mk2, code taken from mupen64plus-ae
apply 0769f3c1dfe62ecac8571d5208e121470824ba89 from https://github.com/libretro/mupen64plus-libretro