Change runtime test for division by zero to use a variable as the second argument, because constant zero now gets detected at compile time