Cast y argument to uintmax_t in RDN2/RUP2

If the type of the y argument to RDN2/RUP2 is smaller than the type of
the x argument, these macros would fail to round correctly. Cast to
uintmax_t to avoid this problem.