freerdp: fix several type related warnings