Support compiling on ARM
Hack: Replaced Xen checksum code with Unix version

The Xen version does unaligned double-word accesses, which fault on ARM.