st/mesa: simplify get_texture_format_swizzle