intel/perf: move get_free_sample_buf into perf