v.25.10Performance Improvement

Reduce memory allocation and memory copy

Reduce memory allocation and memory copy when select from an aggregating merge tree table with FINAL when the table has columns with type SimpleAggregateFunction(anyLast). #84428 (Duc Canh Le).