ceph: pre-allocate ceph_cap struct for ceph_add_cap()