FLUME-2416: Use CodecPool in compressed stream to prevent leak of direct buffers

(Hari Shreedharan via Jarek Jarcec Cecho)