wined3d: Lookup GLSL float uniform locations only once per program.