compat/bswap: add include header guards