[ALSA] hda-codec - Add zero checks in input-mux helper functions