gallium/identity: consolidate sampler, sampler_view code

This will simplify things when the pipe_context functions are consolidated.
1 file changed