r300g: fix breakage after the gallium-sampler-view merge