rbd: use JNA LongByReference type to match with C ssize_t in librbd