libfreerdp-codec: fix NSCodec encoding and buffer pool usage
libfreerdp-codec: use partitioned buffers for RemoteFX encoding/decoding