There are some corner cases where a perfectly correct GZIP stream may
not hit the EOF until another read is attempted. We now skip the entry
if we don't see any valid data, which allows the EOF check to work
properly.
Closes https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22479