Fix: libcrmcommon: report errors consistently when waiting for data on connection
For some errors, crm_ipc_ready() and crm_remote_ready() would return -errno,
while for other errors, they would return -1 and set errno, making it impossible
for callers to reliably interpret the value. Now, they consistently return
-errno on error.