[dev.cc] runtime: convert openbsd/amd64 port to Go

LGTM=rsc
R=rsc, bradfitz
CC=golang-codereviews
https://codereview.appspot.com/171660043