perf tools: Move generic barriers out of perf-sys.h