Don't generate closures for EnumMember mapping

To match the rest of the codebase, don't generate a delegate for each
type.
Instead, use reflection on each write to find the correct value.