Fixed AutoItX.hwndToHandle(HWND hWnd) bug on Windows x64 and fixed test
case error on Windows x64.