libfreerdp-codec: split stream parsing from tile decoding