**Describe the bug**
https://clickhouse-test-reports.s3.yandex.net/18723/5f962015caf6e48f3ec5ea115a8f424e88741c8b/fuzzer/report.html#fail1

**How to reproduce**
`SELECT tupleHammingDistance((65537, 256), (1025, NULL))`

using OpImpl = TupleHammingDistanceImpl<T0, T1>;
            
            
            
            if (const ColumnConst * const_col_left = checkAndGetColumnConst<ColumnTuple>(arg1.column.get()))
            {
                if (const ColumnConst * const_col_right = checkAndGetColumnConst<ColumnTuple>(arg2.column.get()))
                {
                    auto cols1 = convertConstTupleToConstantElements(*const_col_left);
                    auto cols2 = convertConstTupleToConstantElements(*const_col_right);
                    Field a1, b1, a2, b2;
                    cols1[0]->get(0, a1);
                    cols1[1]->get(0, b1);
                    cols2[0]->get(0, a2);
                    cols2[1]->get(0, b2);
                    auto res = OpImpl::constantConstant(a1.get<UInt64>(), b1.get<UInt64>(), a2.get<UInt64>(), b2.get<UInt64>());
                    result_column = DataTypeUInt8().createColumnConst(const_col_left->size(), toField(res));
                    return true;
                }
            }
            typename ColVecResult::MutablePtr col_res = nullptr;
            col_res = ColVecResult::create();
            auto & vec_res = col_res->getData();
            vec_res.resize(input_rows_count);
            
            if (const ColumnConst * const_col_left = checkAndGetColumnConst<ColumnTuple>(arg1.column.get()))
            {
                if (const ColumnTuple * col_right = typeid_cast<const ColumnTuple *>(arg2.column.get()))
                {
                    auto const_cols = convertConstTupleToConstantElements(*const_col_left);