net/bnx2x: fix warnings from invalid assert