TaskScheduler: Avoid heap allocation for PriorityQueue transaction.

This improves the performance of the
SequenceManagerPerfTest.PostImmediateTasks_OneQueue/9 perf test
from 2.39 us/task to 2.05 us/task on a MacBook Pro with a
2.2 GHz i7 4-cores processor.

Before
2.419074
2.399214
2.373303
2.40678
2.373496
avg = 2.39

After
2.060455
2.035805
2.024179
2.078591
2.071706
avg =  2.05

Change-Id: I2fdb4fbdbc8afa9db3815af94a753991d31968da
Reviewed-on: https://chromium-review.googlesource.com/c/1392743
Commit-Queue: François Doray <[email protected]>
Reviewed-by: Gabriel Charette <[email protected]>
Cr-Commit-Position: refs/heads/master@{#620338}
6 files changed