There is no need to use DECONST to when assigning a copy of an enum
value to a local variable of the same type. DECONST should really
only be used to remove const from pointer types, not scalar values.
Obtained from: CheriBSD
Sponsored by: AFRL, DARPA