[GiNaC-list] new tinfo method makes is_a less efficient