ceph: fix message length computation