Allocates the required memory for the aggregate intermediate storage structure defined by an aggregate UDF.