libgo: fix build when using -enable-static=no

With -enable-static=no we don't build non-pic objects, but libgotool.a
is built from non-pic objects.  Build the packages that go into
libgotool.a in static mode in all cases.

Also ensure that internal test packages are built, since nothing
explicitly depended on them.

Change-Id: If3346850f1ccb120ffd8104dd1b1723d1e6e1a51
Reviewed-on: https://go-review.googlesource.com/65050
Reviewed-by: Than McIntosh <thanm@google.com>
2 files changed