[DDMD] [refactor] Move TypeInfo::toDt into a visitor class

Another one of these.