Perf: Replace remaining uses of the boxed Data.Concurrent.Counter (boxed IORef)
in the scheduler with Data.Atomics.Counter.

This commit should affect performance.