libfreerdp-core: free messages after calls