D: Emit enum forward declarations instead of emitting them.

This fixes test-suite/enum_forward.i.