net/mlx5: convert flow dev handle to indexed