ALSA: hda - Return the error from get_wcaps_type() for invalid NIDs