[PATCH 5.10 184/317] perf report: Avoid SEGV in report__setup_sample_type()