fi_cq_readerr returns a negative value on error. Fix cq_readerr to handle it correctly.

Signed-off-by: Arun C Ilango <arun.ilango@intel.com>