Fix GLES2 renderer to use glGetUniformLocations locations
Created by: NotKit
This is needed as uniform locations are driver implementation-specific and glGetUniformLocation should be normally used according to OpenGL (ES) specification.
I tested this to work on Gemini PDA with Mali graphics proprietary driver and custom hwcomposer backend.