Rewrite retargeting code.
Merge branch 'arm64' of github.com:sstangl/js-arm64 into arm64