[PATCH] ALSA: hda: Refactor calculating SDnFMT according to specification