fix Issue 11081 - Win64: duplicate COMDAT with failed compilation with lambdas
Add assertion for lambda code generation
Merge pull request #2579 from 9rnsr/fix11081

[REG2.064a] Issue 11081 - Win64: duplicate COMDAT with failed compilation with lambdas
build type-info in semantic, not during code-gen
treat types with initializer as "builtin" so the TypeInfo is only generated with the declaration
fine-tune the necessity to semantically process TypeInfo to  avoid regression on simple types
resolve zeroInit in forward referenced struct
calc zeroInit separately
write TypeInfo for typedef with initializer
do not write type info for error type
do not build type info for array literals during CTFE
fix/simplifiy need-semantic check
fix RTInfo generation for classes