[PATCH 5.13 774/800] lib/math/rational.c: fix divide by zero