fix Issue 9892 - [ICE] forward reference in enum declaration members cau...

...ses compiler segfault

http://d.puremagic.com/issues/show_bug.cgi?id=9892