[ALSA] hda-codec - Fix wrong error checks in patch_{realtek,analog}.c