wfreerdp: fix multiple warnings