net/bnxt: fix out of bound access in bit handling