Make it possible to seek within a gzip stream.

(cherry picked from commit 7a806a64eabb6a6bc145d48b2705d1ba8e71c76e)