Fixed a problem that could cause the gzbuffer to read a byte when requesting 0 bytes.