Bump GLib requirement to 2.40

The evolution-data-server already requires GLib 2.40, thus this is more
like a sync of the requirements, than a real dependency change.