[PATCH 6.18 203/430] libperf cpumap: Fix perf_cpu_map__max for an empty/NULL map