ceph: avoid null deref in osd request error path