[PATCH 1/2] ALSA: hda/hdmi: Add helper function to check if a device is HDMI codec