[PATCH 5.10 074/154] net: bnx2x: fix variable dereferenced before check