Fix integer overflow in unpack_compressed_entry()