Checksum: Convert 0-sized checksums to all-zeros checksums.

Change-Id: Ia2429edafcdc93aad01310f66f489c3dd54ec365
diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Checksum.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Checksum.java
index 705e27c..ce5f9b0 100644
--- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Checksum.java
+++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Checksum.java
@@ -16,6 +16,10 @@
   private static final Decoder<Checksum> DECODER = ByteString.decoder().map(Checksum::new);
 
   public Checksum {
+    if (byteString.size() == 0) {
+      byteString = zero().byteString;
+    }
+
     if (byteString.size() != SIZE) {
       throw new IllegalArgumentException(
           "attempted to construct Checksum of length %d (expected: %d)"