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

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

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