E1000: fix endianness related problems