[PATCH u-boot-marvell v3 08/39] tools: kwboot: Fix comparison of integers with different size