bnx2x: Prevent null pointer dereference on error flow