kabi.c: recursively explore the ctype field to extrac all the type info

Also removed typenames table, since one already exists in
sparse/symbols.c