Fix for 0 % N giving wrong answer in cpp_int.
Refs #8670.

svn path=; revision=84716