mdns: remove dependencies on asm/byteorder.h, fix constant endian swap initialization