datetime: replace deprecated GTimeVal

This change replaces all uses of the deprecated GTimeVal structure with the recommended equivalents.
Among the obvious benefits of fewer deprecation warnings and a smoother transition to newer GTK versions if they were ever removed, the main benefit of this change is avoding bugs related to Y2038.
2 jobs for !3 with gtimeval in 53 seconds (queued for 3 seconds)
merge request