Issue 13232 - avoid expensive template instantiations on module import

- hide std.uni.TrieBuilder instantiations behind functions

[Issue 13232](https://issues.dlang.org/show_bug.cgi?id=13232 "dmd compile times increased by 10-20%")