perf_counter, x86: Add mmap counter read support