add (optional) GLES 2.0 support in glide64mk2

code taken from mupen64plus-ae