librados/misc.cc: reverse offset and length on write call

Signed-off-by: Samuel Just <sam.just@inktank.com>