WinCE: Fix reading of data from serial port


Do not remove all read bytes from the input buffer,
but only the difference between the reserved ones
and the actual read ones.

Change-Id: Ib114e3972ec295f57d011ae9ffa6613313712e32
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
commit77c48a0e22c1048226832e6b845d72da9d5b317f
parent1c37490efc080593c2a1318e0c02f2f3c0b27dbf
authorTobias Koenig <tobias.koenig@kdab.com>
committerTobias Koenig <tobias.koenig@kdab.com>
commit timeFri, 3 Jul 2015 16:57:33 +0000