[gnome-base/gdm] fix compilation, add improved timed login patch