libbinder: return error correctly in RpcTransportTipcAndroid

The callback passed to interruptableReadOrWrite is expected
to emulate read() so it should return -1 on error and set errno.
This fixes the RpcTransportTipcAndroid implementation to do
that instead of returning the error directly.

Bug: 224644083
Test: presubmit
Change-Id: I486bb8db2abc4c519ebce3f4f9c0ec8741f69ff4
1 file changed