[PATCH 5.4 221/232] dm clone: Add missing casts to prevent overflows and data corruption