go/parser: fix scoping for local type declarations
go/parser: fix scoping for local type declarations

R=gri
CC=golang-dev
http://codereview.appspot.com/4332045

Committer: Robert Griesemer <a6752097faebf1f02d80107d77a9be009089afe3@golang.org>

firebitsbr/golang-old,wesolows/golang-old,wesolows/golang-old,firebitsbr/golang-old,wesolows/golang,wesolows/golang,wesolows/golang-old,firebitsbr/golang-old,firebitsbr/golang-old,wesolows/golang,wesolows/golang,firebitsbr/golang-old,wesolows/golang-old,wesolows/golang-old,wesolows/golang,firebitsbr/golang-old,wesolows/golang-old,wesolows/golang,wesolows/golang-old,wesolows/golang,firebitsbr/golang-old,firebitsbr/golang-old