Supplemental change for druntime pull 522.
fix Issue 10498 - `__traits(compiles, ...)` affect program behaviour
fix Issue 10558 - Assertion failure on struct.c:741

A template instance on temlpate argument may not have yet valid `Dsymbol::ident`, so should use `Dsymbol::getIdent()` for hash calculation.
Merge pull request #2314 from 9rnsr/fix10558

[REG2.064a] Issue 10558 - Assertion failure on struct.c:741
Merge pull request #2310 from denis-sh/supplemental-change-for-druntime-pull-522

Supplemental change for druntime pull 522.
Merge pull request #2280 from 9rnsr/fix10498

[REG2.061] Issue 10498 - `__traits(compiles, ...)` affect program behaviour
Merge pull request #2319 from donc/ctfeCastSafety

Fix issue 10568 CTFE rejects function pointer safety casts
CTFE: run semantic on global variables

Only seems to happen with forward-referenced globals, for example:
const int c23 = b23 * b23;
const int a23 = 1;
const int b23 = a23 * 3;
Do all interpreting inside CTFE

instead of in the optimizer
Entirely remove WANTinterpret from the compiler

It is no longer used.