qapi: make visit_type_size fallback to type_int