mesa/st: support using PIPE_TEXTURE_RECT internally