net/mlx5: fix inconsistent return value in flow director