net: fix TestDialFailPDLeak to work when GOMAXPROCS is large

Fixes issue 6553.

R=golang-dev, mikioh.mikioh
CC=golang-dev
https://codereview.appspot.com/14526048