[PATCH 6.10 361/809] perf stat: Fix a segfault with --per-cluster --metric-only