Link libstatssocket as a shared library

Library clean up as a part of statsd becoming a module

Bug: 145565901
Test: compiles
Change-Id: I52ef9bfe9bf52a2582e155317b3817da3600b87d
diff --git a/cmds/statsd/Android.bp b/cmds/statsd/Android.bp
index 5df932f..2894d1c 100644
--- a/cmds/statsd/Android.bp
+++ b/cmds/statsd/Android.bp
@@ -124,7 +124,6 @@
         "libprotoutil",
         "libstatslog",
         "libstatsmetadata",
-        "libstatssocket",
         "libsysutils",
     ],
     shared_libs: [
@@ -134,6 +133,7 @@
         "libincident",
         "liblog",
         "libservices",
+        "libstatssocket",
         "libutils",
     ],
 }