[glib,gdk] Add eventloop leak patches