Bump glib requirement to 2.40.0