Return -errno from pipe operations instead of -1 am: 2c288a0ab3 am: b4413dcdc8

Original change: https://android-review.googlesource.com/c/device/generic/goldfish-opengl/+/2360392

Change-Id: Id61b0598fec9f14ddf83a91069ef2e401997bb09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>