ALSA: hda: Fix put_device() inconsistency in error path