Fix in bgzf's gzip reading plus added a test for this