libfreerdp-core: fix asynchronous queueing of RemoteApp messages