ceph: fix memory leak on decode error in ceph_handle_caps