cursor: migrate cursor to mongoc_rpc_t.