libfreerdp-codec: fix mppc decompression

* protect against history buffer overflows
* fix replicating copy (CopyOffset can be > HistoryBufferSize!)
Merge pull request #2206 from nfedera/fix-2014-11-12-01

libfreerdp-codec: fix mppc decompression