[PATCH 6.12 142/567] libperf cpumap: Fix perf_cpu_map__max for an empty/NULL map