net/bnxt: avoid null pointer dereference