fix Issue 9406 - (Regression: 2.061) Stack overflow from a forward reference error
Fix unnecessary forward reference error.

In DotTemplateInstanceExp, needsTypeInference is used to determine whether the instance is really a function call or not. But the template is yet not actually instantiated, so onemember->toAlias() might fail. In this case, TemplateInstance::toAlias() tried to run its semantic.
Refactoring for the detection mechanism of expression modifiable.
fix Issue 8783 - ref foreach update of const fixed size arrays in constructor
this was using the D calling convention

- pass parameter on stack
fix Issue 8832 - Segfault when accessing range returned by function that has delegate referencing local variables
Merge pull request #1575 from WalterBright/b43

fix Issue 8832 - Segfault when accessing range returned by function that...
Merge pull request #1578 from dawgfoto/fixDSOInit

this was using the D calling convention
Merge pull request #1576 from 9rnsr/fix9406

Issue 9406 - (Regression: 2.061) Stack overflow from a forward reference error
Merge pull request #1570 from 9rnsr/fix8783

Issue 8783 - ref foreach update of const fixed size arrays in constructor