r300/compiler: generalize depth texture mode to support arbitrary swizzles