fix: proper handling of XGetWindowProperty result on x64 arch