gofix: fix procattr registration, tests

R=adg
CC=golang-dev
https://golang.org/cl/4275054
3 files changed