[PATCH 5.13 065/223] perf sched: Fix record failure when CONFIG_SCHEDSTATS is not set