cmd/cgo: fix windows build

        The shared library changes broke the windows build because __attribute__ ((visibility ("hidden"))) is not supported in windows gcc. This change removes the attribute, as it is only needed when building shared libraries.

R=rsc
CC=golang-dev
https://codereview.appspot.com/12829044

Committer: Russ Cox <rsc@golang.org>