SPARK-3428. TaskMetrics for running tasks is missing GC time metrics