Delta apply fail with "xdelta3: target window checksum mismatch: XD3_INVALID_INPUT"

For additional context read https://tracker.mender.io/browse/MEN-3513 (in the end this fix was applied to zeus branch)