Reland "IPCThreadState: Add a public method to probe if a binder call is being served.""

This reverts commit d2e4de2a0c99031fd7227f162517de313fd29262.

Reason for revert: Dependencies which broke tests due to exclusion from 
                   LOCAL_JNI_SHARED_LIBS have been added.

Change-Id: If400a48214274d121e79135ac5d573fcb1a4a4c2
diff --git a/libs/binder/Android.bp b/libs/binder/Android.bp
index 61b8818..da10687 100644
--- a/libs/binder/Android.bp
+++ b/libs/binder/Android.bp
@@ -119,6 +119,7 @@
         "liblog",
         "libcutils",
         "libutils",
+        "libbinderthreadstate",
     ],
 
     header_libs: [