Fix the -time-passes option to not print NaN when there is zero execution time