[Bug 679345] zlib segfaults when passing NULL to gzopen