net/enetc: fix big endian build and buffer allocation