Replace bswap() with bswap_32() from <byteswap.h>
Also explicitly disables one test for ARM which includes <sys/io.h> which is Intel specific and does not exist on aarch64.
This uses the documented byteswap.h include header instead of the first version.