runtime: unbreak netbsd builds

Fix signal handling so that Go builds on NetBSD.

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

Committer: Russ Cox <rsc@golang.org>