Issue 9436 - enum cannot be forward referenced with cyclic imports and mixin

http://d.puremagic.com/issues/show_bug.cgi?id=9436

If `EnumDeclaration::isdone != 0`, `setScope` should do nothing.