ALSA: pcm: Add snd_interval_ranges() and snd_pcm_hw_constraint_ranges()