libceph: add process_one_ticket() helper