core: fix problem with data for unknown channel

Some buggy server(s) send data for channels that weren't announced or
negotiated. When processing this data FreeRDP had a problem and always
used the last channel in the channels list even if it wasn't responsible
for the data. Depending on how the channel handled the data this could
lead to different kind of problems and also segmentation faults.

Now data for unknown channels is ignored and not processed further.
Merge pull request #2279 from bmiklautz/channel_fail

core: fix problem with data for unknown channel
libfreerdp-core: server synchronized access to dvc channel seq.
Merge pull request #2283 from llyzs/llyzs

libfreerdp-core: server synchronized access to dvc channel seq.
Merge branch 'master' of github.com:FreeRDP/FreeRDP