Replace GL_TEXTURE_* tokens with PIPE_TEXTURE_*