Add an abort() function, move some hacks to hacks.S.
Switch all assert to assert!