This reverts commit 7e5d3d15. Turns out the spank_task_privileged needs to execute inside the child process instead of the slurmstepd. Bug 4298