DRILL-608: Fix casting to decimal data types with difference scales.