Reordered cases in translate-to-foreign for GObject pointers