DRILL-946: Fix minor bug in casting decimal to double