[PATCH 3.18 37/54] net/mlx4: Fix UBSAN warning of signed integer overflow