[JENKINS-14362] Switch to jzlib for GZIP streaming.

(cherry picked from commit 01e8d068ea6595d86f859862d2e0f228ac643db4)