libfreerdp-core: fix potential crash on session redirection failure