rbd: add rbd_obj_request_error() helper