Remove compatibility code cruft for old GLib versions