perf_counter: Fix COMM and MMAP events for cpu wide counters