ctdb-tests: Replace ctdb_fetch_one with fetch_loop using new client API