Replace arch-dependent integer byteswap routines with gcc builtins