libfreerdp-codec: use pooled buffers for channel encoding