Revert "Drop support for Glib < 2.36"

This reverts commit e017ed5b24f91705facec821afdc066f7a3523b5.