[PATCH 6.12 550/626] perf/x86/intel: Fix segfault with PEBS-via-PT with sample_freq