[PATCH v2] ALSA: hda: fix jack detection with Realtek codecs when in D3