librbd, rados: Allow get_lock_info to fail

If the lock class isn't present, EOPNOTSUPP is returned for lock calls
on newer OSDs, but sadly EIO on older; we need to treat both as
acceptable failures for RBD images and RADOS objects

Signed-off-by: Dan Mick <dan.mick@inktank.com>