bnx2x: unlock before returning an error