[PATCH 6.12 348/423] perf/core: Fix child_total_time_enabled accounting bug at task exit