Fix overflow in timespan constructor. Cast to int32_t is happening too late.