[POWERPC] Fix possible division by zero in scaled time accounting