libfreerdp-client: internal channels code cleanup