allocsites: minor fixes to walk_types() client code.