mfreerdp: apply fixes from mac-audio branch