Make sure that XDG_* variables are extended and not overridden

Qt5 has defaults for these XDG_* variables, and setting them by hand to
a custom value effectively results in the shared locations no longer
being used. This shows up in the various unit tests as missing *or*
wrong icons, for example, which is of course fun to debug.