glib: Updated to version 2.40.0. Rebase into previous.