runtime: optimize calls to addroot()

R=golang-dev, rsc
CC=dvyukov, golang-dev
https://codereview.appspot.com/7879043