[PATCH 2/2] ALSA: hda: Add missing sanity checks in PM prepare/complete callbacks