net/bnxt: fix variable width in endian conversion