Nautilus shell integration: Use fallback when XDG_RUNTIME_DIR is not defined

Same fallback as in Qt5

Task #2477