[PATCH 5.15 126/171] perf tools: Fix SMT detection fast read path