net/bnxt: fix a pointer deref before null check