Fix incorrect DCHECK for oatdump

Fixed flipped conditional that the image size matched the file size
for uncompressed images. This fixes dumping compressed boot images.

Bug: 77863440
Test: mm dump-oat-boot

Change-Id: I415486e45a194ee16b5e21cfcdc15e05d5968641
diff --git a/oatdump/oatdump.cc b/oatdump/oatdump.cc
index ea64708..0e17425 100644
--- a/oatdump/oatdump.cc
+++ b/oatdump/oatdump.cc
@@ -1968,7 +1968,7 @@
       stats_.file_bytes = file->GetLength();
       // If the image is compressed, adjust to decompressed size.
       size_t uncompressed_size = image_header_.GetImageSize() - sizeof(ImageHeader);
-      if (image_header_.HasCompressedBlock()) {
+      if (!image_header_.HasCompressedBlock()) {
         DCHECK_EQ(uncompressed_size, data_size) << "Sizes should match for uncompressed image";
       }
       stats_.file_bytes += uncompressed_size - data_size;