[GLib] InvertTable now takes an optional second table argument where the inverted key values are stored.