xfreerdp/tsmf: migrate to callback interface