ALSA: hda - fix array indexing while creating inputs for Cirrus codecs