libgo: Solaris portability for syscall package.

http://gcc.gnu.org/PR56171

From Rainer Orth.

R=iant
CC=gofrontend-dev
https://codereview.appspot.com/7307094