runtime: fix build for NetBSD/ARM

R=golang-dev, jsing
CC=golang-dev
https://codereview.appspot.com/7597046