log/syslog: fix channel race in test.

R=golang-dev, minux.ma, iant, bradfitz, dave
CC=golang-dev
https://codereview.appspot.com/7314057

Committer: Dave Cheney <dave@cheney.net>