cmd/gc: implement method values

R=ken2, ken
CC=golang-dev
https://codereview.appspot.com/7546052