libfreerdp-core: modify parsing functions to return int instead of BOOL to propagate session redirection return code