Ticket #1402: avoid to use enum type for EnumeratedType which are masks (IsOptionSet=True)
Contributes #1402 (closed)
Avoid to use the C enum type as type for fields which are masks: 1/ Enum values are just mask value whereas the field is the actual value composed of masks 2/ Types might be represented as non-32 bits which leads to uninitialized C structure field value if C enum type is kept