pam: do not set XDG_RUNTIME_DIR unconditionally

If the session's original user is not the same as the newly logged in one we
will not set XDG_RUNTIME_DIR.

Patch based on upstream commit baae0358f349870544884e405e82e4be7d8add9f