build: bump glib required version

Without that, there are lots of warning messages during the compilation
if we have a recent glib.

We will soon use G_DEFINE_TYPE_WITH_PRIVATE, so we will need a recent
glib version anyway.