tools: include endian.h from byteswap.h to ensure that bswap_* is available