arm: aarch32: timing: fix potential divide by zero if DWT There is a possibility that the DWT frequency calculation is divided by zero. So this fixes the issue by repeatedly trying to get the delta clock cycles and delta DWT cycles until they both are not zero. Signed-off-by: Daniel Leung <daniel.leung@intel.com>