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

This is a follow-up of SPARK-4593 (#3443).
Remainder actually supports the fractional type, the previous implementation only support integral type, which is a bug, can you fix that also?