perf/core: Set data->sample_flags in perf_prepare_sample()