[Refactoring] Separate `Type::genTypeInfo` from `Type::getTypeInfo`

Reduce redundant Expression generation in glue layer
Add semanticTypeInfo
fix Issue 12144 - Unresolved xopEquals when referenced by dynamic array constructor
Merge pull request #3256 from 9rnsr/fix12144

[REG2.064] Issue 12144 - Unresolved xopEquals when referenced by dynamic array constructor
Fix up issue 12144 test case
Merge pull request #3272 from 9rnsr/fix12144

Fix up issue 12144 test case
fix Issue 12124 - Never be used static opCall should be reported
Merge pull request #3240 from 9rnsr/fix12124

Issue 12124 - Never be used static opCall should be reported