ARM: Fix divide by 0 in software divide used on CPUs without HW divide.