cmd/yacc: fix stderr on Windows.
Fixes issue 6620.

R=golang-dev, dave, r
CC=golang-dev
https://codereview.appspot.com/15330043