cmd/go: update -DGOPKGPATH to use current pkgpath encoding

This will need to be done in the gc version too, probably more cleverly.
This version will ensure that the next GCC release works correctly
when using the GCC version of the go tool.

Updates golang/go#37272

Change-Id: I5636bec7268bcd41994c2e2262f8293cb95c0cd4
Reviewed-by: Than McIntosh <>
1 file changed