hda: added a few quirks.

* trace the quirks along with codec ids.
ac97: added a few codec ids.

* minor code cleanup