Fix swizzle with texture sample and gather instructions.

The swizzle on srcResource determines how to swizzle the 4-component
result coming back from the texture sample/filter, after which .mask on
dest determines which components in dest get updated.