[Refactoring] Turn IrDsymbol flags into an enum value
Const and immutable fields with initializers are not globals since 2.064