Fix obvious x86 64 compile errors

This series fixes the more obvious errors with trying to compile a native 64-bit rr binary.  The big issues left after this are one-off syscalls and figuring out how to make `Registers` work.