add rbd_lock_shared2 api to librbd.hpp