v.20.8Bug Fix

Check for Array Size Overflow in topK Aggregate Function

Check for array size overflow in topK aggregate function. Without this check the user may send a query with carefully crafted parameters that will lead to server crash. This closes #14452. #14467 (alexey-milovidov).