wfreerdp: fix most build warnings