gnome-session: Fix crash of gnome-session in combination with kdm
This update fixes the following issue for gnome-session:
- Fix crash of gnome-session in combination with kdm: on Logout Cancel action is NONE, an empty msg (=NULL) is created for kdm, and the strlen(NULL) in the fwrite call crashes.
- Submitted by Stefan Brüns (StefanBruens)