binder: Add support for dumpsys for perfetto state bugreports

Example usage and output:

 $> adb shell dumpsys iorapd
 $>
    Perfetto consumer state:
      Last destroyed handle: 4
      Last created handle: 6

      In-flight handles:
        Handle 5
          Kind: kStartedTracing
          Perfetto State: 2
          Started tracing at: 1581652898017191878
          Last transition at: 1581652898017191878
        Handle 6
          Kind: kStartedTracing
          Perfetto State: 3
          Started tracing at: 1581652899716939079
          Last transition at: 1581652899716939079

Bug: 149790059
Test: adb shell dumpsys iorapd # while running a bunch of apps
Change-Id: Idf1d11a330205a3bd1fc350394a9ed5029f6d299
6 files changed