Avoid calling memcpy() with a NULL pointer.

This is not permitted by the C99 standard even when the length is
zero. Go figure.
diff --git a/pigz.c b/pigz.c
index e1c60b6..a9b0f2f 100644
--- a/pigz.c
+++ b/pigz.c
@@ -3414,8 +3414,10 @@
 
         // copy the output and alert the worker bees
         out_len = len;
-        g.out_tot += len;
-        memcpy(out_copy, buf, len);
+        if (len) {
+            g.out_tot += len;
+            memcpy(out_copy, buf, len);
+        }
         twist(outb_write_more, TO, 1);
         twist(outb_check_more, TO, 1);