Merge "libsparse: fix 32 bit overflow when calculating last chunk"