[PATCH OLK-6.6] perf/core: Fix race between perf_event_exit_task and perf_pending_task