hda: improve the microphone device allocation