st/dri: use PIPE_TEXTURE_RECT if appropriate