[GLib] Fixed bug in Enumerator.ToArray () and Enumerator.ToMap ().