ecere/XInterface: 64 bit X11 fixes