[SPARK-4720][SQL] Remainder should also return null if the divider is 0.

This is a follow-up of SPARK-4593 (#3443).
OK, `rem` seems only support the integral type, maybe that's why `i1` accepts the NumericType instead.