pulse: Make gst_pulse_format_info_to_caps() shared