net: fix parsing literal IPv6 address with zone identifier in builtin dns stub resolver

Fixes issue 8619.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://codereview.appspot.com/132560043