xfreerdp: cleanup xf_window.c, xf_rail.c