go/parser: don't report name errors if DeclarationErrors is not set
go/parser: don't report name errors if DeclarationErrors is not set

R=adonovan
CC=golang-dev
https://codereview.appspot.com/12072043

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