core: move NTOHL and friends into byteorder.h

Then they are all weird. ;-b