Fix creation of GC tasks

This was inadvertently using `apply` to call a function on a set of
arguments when a regular function call was appropriate, due to a bad
refactor.