DRILL-710: Fix sign function to always return integer type.