libceph: fix crypto key null deref, memory leak