build: remove no longer needed glib version dependent code paths

We require GLib 2.35.x, no need to check for previous versions.