Removed irrelevant attributes

`immutable` has no effect on `enum`, and `__gshared` has no effect on
`struct` declarations.