image/png: remove too early declaration of "n"
image/png: remove too early declaration of "n"

Before this commit, the code declares and assigns "n" with the result of
io.ReadFull() -- but the value is not used.  The variable is then reused
later in the function.

This commit removes the first declaration of "n" and declares it closer
to where it is used.

Change-Id: I7ffe19a10f2a563c306bb6fe6562493435b9dc5a
Reviewed-on: https://go-review.googlesource.com/c/go/+/232917
Reviewed-by: Rob Pike <4dc7c9ec434ed06502767136789763ec11d2c4b7@golang.org>

nawawi/go,golang/go,nawawi/go,cloudflare/go,akutz/go,cloudflare/go,golang/go,cloudflare/go,akutz/go,golang/go,cloudflare/go,CAFxX/go,CAFxX/go,cloudflare/go,golang/go,akutz/go,nawawi/go,akutz/go,CAFxX/go,golang/go,nawawi/go,akutz/go,nawawi/go,akutz/go,CAFxX/go,CAFxX/go,nawawi/go,akutz/go,nawawi/go,golang/go,akutz/go,cloudflare/go,cloudflare/go,CAFxX/go,nawawi/go,CAFxX/go,golang/go,cloudflare/go,golang/go,CAFxX/go