Removed irrelevant attributes

immutable has no effect on enums, and __gshared has no effect on
struct declarations.