perf_counter: x86: Fix call-chain support to use NMI-safe methods