Set XDG_CURRENT_DESKTOP if unset

From 3.14 GDM sets XDG_CURRENT_DESKTOP. For compatibility with
older versions of GDM,  other display managers, and startx,
set a fallback value if we don't find it set.

https://bugzilla.gnome.org/show_bug.cgi?id=729575