DRILL-7307: casthigh for decimal type can lead to the issues with VarDecimalHolder
- Fixed code-gen for VarDecimal type
- Fixed code-gen issue with nullable holders for simple cast functions
with passed constants as arguments.
- Code-gen now honnoring DataType.Optional type defined by UDF for
NULL-IF-NULL functions.