Add JNI target to libretro-test-gl.

Fixup GLES build.