os/signal: deflake test
Fixes issue 4987.

R=golang-dev, iant
CC=golang-dev
https://codereview.appspot.com/7713043