Warn about packages which are imported but not used.

R=iant
https://golang.org/cl/194163
diff --git a/go/unsafe.cc b/go/unsafe.cc
index d23aeda..be5b7cd 100644
--- a/go/unsafe.cc
+++ b/go/unsafe.cc
@@ -26,6 +26,7 @@
 						is_local_name_exported,
 						"libgo_unsafe",
 						location, &add_to_globals);
+  package->set_is_imported();
 
   Bindings* bindings = package->bindings();
 
@@ -35,6 +36,7 @@
     {
       Type* type = Type::make_pointer_type(Type::make_void_type());
       no = bindings->add_type("Pointer", package, type, UNKNOWN_LOCATION);
+      no->set_package(package);
     }
   else
     {