gl: qt4 and gles2 build fix. move glActiveTexture to helper