graphics: avoid one glGetString and fix another one GL command for android emulator where passing NULL to *length is not supported.