There are two implementations for TypeSystemMap::GetTypeSystemForLanguage which are both
identical beside one taking a Module and one taking a Target (and then passing that argument
to the TypeSystem::CreateInstance function).
This merges both implementations into one function with a lambda that wraps the different calls
to TypeSystem::CreateInstance.