ceph: fix readdir EOVERFLOW on 32-bit archs