Add additional overflow check for Duration constructor.