[PATCH 4.9 193/310] net/mlx4: Fix the check in attaching steering rules