Add glGetProgramiv* to opengl