[DDMD] Move #defined constants outside class declaration

Because when converted to D these become enum constants, and will be scoped inside `FuncDeclaration`.  It wasn't a problem until recently when functions that aren't members of `FuncDeclaration` started referencing these constants.