Merge pull request #3011 from MartinNowak/fix11684

[2.065,Reg] fix Issue 11684 - SIGSEGV with ld.bfd version 2.22
Merge pull request #3000 from 9rnsr/fix11755

[REG2.065a] Issue 11755 - Operator <>= and !<>= with arrays make internal error in e2ir
Merge pull request #3008 from 9rnsr/fix11776

[REG2.065a] Issue 11776 - [ICE] Assertion failure: 'tf->next == NULL' on line 119 in file 'mangle.c'
Build dmd as static libraries on posix
Merge pull request #2990 from denis-sh/workaround-regression-11777

Workaround regression 11777.
Merge pull request #3014 from 9rnsr/fix11078

[REG2.058] Issue 11078 - Diagnostic for wrong RHS in property assign of a property group should improve
Merge pull request #3019 from 9rnsr/fix11767

[REG2.060] Issue 11767 - doubly mixed-in struct "failed semantic analysis"
Merge pull request #3033 from 9rnsr/fix11818

[REG2.064] Issue 11818 - Ternary operator not allowed in a value parameter anymore
Merge pull request #3050 from 9rnsr/fix11447

fix Issue 11447 - Closure provide bogus values
Merge pull request #3051 from yebblies/issue11559

Fix Issue 11559 - Optlink crash with more than 2048 modules generated and debug info
fix Issue 5749 - argument evaluation order of chained function from right
Remove phobos dependency from issue 4003 test case
fix Issue 10938 - ICE on recursive instantiation in opDispatch

By fixing issue 10736 (314a1cca9ff56775b9e2a9cf81564135be0726b1), all of template instance semantic are reliably finished by the deferred mechanism.
And it had removed the necessity of the code in `DotTemplateInstanceExp::semanticY` for the issue 4003.

Therefore, just remove the unnecessary code to fix the ICE.
fix Issue 11553 - dmd segfault with recursive template
[Refactoring] Rename Dsymbol::inTemplateInstance to isInstantiated

Because `inTemplateInstance` is too similar to `isTemplateInstance`.
fix Issue 10329 - Attributes not inferred for indirectly templated methods
Do not infer attributes for __xopEquals and __xopCmp
List internal names in idgen.c
inifile: use SYSCONFDIR
Merge pull request #3055 from humdedum/inifile-fix

inifile: look in SYSCONFDIR