perf test: Fix cpu map leaks in cpu_map_print test