runtime: avoid closure in parfor test

R=golang-dev, dvyukov
CC=golang-dev
https://codereview.appspot.com/7395051