librados: EINVAL on a negative osd id

Signed-off-by: Sage Weil <sage@inktank.com>