libfreerdp-codec: cleanup and restructure planar decompressor for chroma subsampling