cmd/gc: prohibit short variable declarations containing duplicate symbols

Fixes issue 6764.
Fixes issue 8435.

LGTM=rsc
R=golang-codereviews, r, gobot, rsc
CC=golang-codereviews
https://codereview.appspot.com/116440046

Committer: Russ Cox <rsc@golang.org>