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

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

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