Tweak -Xlint warnings

This now catches a few more places we needed -Xlint:-options.
InProcessSocketAddress is technically already in our stable API, so I
maintained its current serialVersionUID.
diff --git a/compiler/build.gradle b/compiler/build.gradle
index 2302e5c..c9b7c56 100644
--- a/compiler/build.gradle
+++ b/compiler/build.gradle
@@ -135,7 +135,12 @@
 
 compileTestLiteJava {
   // Protobuf-generated Lite produces quite a few warnings.
-  it.options.compilerArgs.removeAll(["-Xlint:unchecked", "-Xlint:rawtypes"])
+  options.compilerArgs = compileTestJava.options.compilerArgs +
+      ["-Xlint:-unchecked", "-Xlint:-rawtypes"]
+}
+
+compileTestNanoJava {
+  options.compilerArgs = compileTestJava.options.compilerArgs
 }
 
 protobuf {