go/types: don't crash if there are no hints

R=r
CC=golang-dev
https://codereview.appspot.com/7375060