perf tools: Fix SMT detection fast read path