fix Issue 11280 - [REG 2.064] Symbol missing although it should be there

http://d.puremagic.com/issues/show_bug.cgi?id=11280

This is a redo of https://github.com/D-Programming-Language/dmd/pull/2687