Refactor gl/libretro-test.c a bit
Update libretro-test so that it automatically tries requesting
the highest GL context version