pan/midgard: Use type-appropriate swizzle for texture coordinate