Override SqlUnresolvedFunction.inferReturnType() to return 'ANY' type.

This will fix the problem of using aggregate functions on top of custom drill functions. (DRILL-773)