Reproduces on master.

```
SELECT toDateTime64('2021-03-22', 3, 'Asia/Tehran')

Query id: 26f7c373-f473-4209-8976-6ada79a8627f

┌─toDateTime64('2021-03-22', 3, 'Asia/Tehran')─┐
│                      2157-04-28 06:28:16.000 │
└──────────────────────────────────────────────┘
```
{
        const LUTIndex index = findIndex(t);
        const Values & values = lut[index];
        DateTimeComponents res;
        res.date.year = values.year;
        res.date.month = values.month;
        res.date.day = values.day_of_month;
        Time time = t - values.date;
        if (time >= values.time_at_offset_change())
            time += values.amount_of_offset_change();
        if (unlikely(time < 0))
        {
            res.time.second = 0;
            res.time.minute = 0;
            res.time.hour = 0;
        }
        else
        {
            res.time.second = time % 60;
            res.time.minute = time / 60 % 60;
            res.time.hour = time / 3600;
        }
        
        if (unlikely(res.time.hour > 23))
            res.time.hour = 23;
        return res;
    }
    inline UInt64 toNumYYYYMMDDhhmmss(Time t) const