Also bump Go from 1.8 to 1.10, and change how the static binary is
built to avoid warnings during link.
Updates golang/go#21315
Updates golang/go#22603
Change-Id: I426491d48f787a77cb3eea4dff4d11f474236548
Reviewed-on: https://go-review.googlesource.com/96416
Reviewed-by: Andrew Bonventre <andybons@golang.org>