main/pack: use _mesa_format_from_format_and_type() in _mesa_pack_rgba_span_from_*

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>