Avoid undefined behavior in gzwrite.c.

Adding to NULL is undefined.
1 file changed