mesa: glGetUniform only returns a single element of an array