Fixed how EnumMap serializes flag values.

While serializing an enum value, EnumMap no longer considers partial matching flags when there is a flag that matches exactly.

**Fixes:** [#21072](https://bugzilla.xamarin.com/show_bug.cgi?id=21072)