Support lod opcode.

Implemented as a call to textureQueryLOD in GLSL.