[REG2.064a] Issue 10558 - Assertion failure on struct.c:741

http://d.puremagic.com/issues/show_bug.cgi?id=10558

It's caused by #2239. A template instance on temlpate argument may not have yet valid `Dsymbol::ident`, so should use `Dsymbol::getIdent()` for hash calculation.