D: Emit enum forward declarations instead of omitting them.

This fixes test-suite/enum_forward.i.