logd: fix write errors in no_epipe test am: 2e96097ff0 am: 3f160c5a74

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/logging/+/15523898

Change-Id: I440f404fa2e2aa46a8f0f950afd4e5a479b7f39b
tree: 3f0852f676dc8c126507f58ba126e5a71834543d
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/
  5. rust/
  6. OWNERS
  7. PREUPLOAD.cfg
  8. TEST_MAPPING