logd: switch asprintf to std::string
am: 5c3835d943  -s ours

* commit '5c3835d9431f9b1277a110a61375231181307094':
  logd: switch asprintf to std::string