[PATCH 4.9 13/51] net/mlx4: Fix UBSAN warning of signed integer overflow