Restore GzipReader#getbyte logic.