mesa: use swapBytes parameter in _mesa_format_matches_format_and_type()