ctdb: move ctdb_io.c to use TLIST_*() macros