[PATCH 5.17 186/298] net/mlx5: Fix mlx5_get_next_dev() peer device matching