logd: enable LTO

Logd is self contained so LTO should be net beneficial.

Bug: 155322981
Test: logging unit tests
Change-Id: I7e26fcf15a7886ed537685d921428c679d7390f8
diff --git a/logd/Android.bp b/logd/Android.bp
index 80e3cb2..ee86566 100644
--- a/logd/Android.bp
+++ b/logd/Android.bp
@@ -57,6 +57,10 @@
         "-Wextra",
         "-Wthread-safety",
     ] + event_flag,
+
+    lto: {
+        thin: true
+    }
 }
 
 cc_binary {
@@ -82,6 +86,10 @@
     cflags: [
         "-Wextra",
     ],
+
+    lto: {
+        thin: true
+    }
 }
 
 cc_binary {