Fix 32-bit overflow in parallels image support