[PATCH 4.14 63/69] x86/perf/amd: Resolve race condition when disabling PMC