Fix build for win32 (#3001)
Fix build for win32 (#3001)

Check for x64 before using a non-32bit operation.

See #2955 for context.
WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen