logd: add thread setname

- permits easier determination of logd thread at
  fault in a stack trace from debuggerd.

Bug: 14275676
Change-Id: Iac2c523147e2bcce34ab7ddcecd02582c5fa7cc0
Merge "logd: add thread setname"
Merge remote-tracking branch 'aosp/master' into fml-master