xfreerdp-client: fixed potential crash