Change checksum verification code so it does require to modify image. Signed-off-by: Pali Rohár <pali@kernel.org>