Remove deprecation warnings from GTimeVal
GLib 2.62 added deprecation warnings for GTimeVal and related API.
GdkPixbuf exposes GTimeVal in public API, so we need to disable deprecation warnings to avoid breaking the build in modules using GdkPixbuf and GLib 2.62.