Fix for cubic: reset output counting when doing the repeat

    * src/cubic/basicmath_small.c: When repeating the benchmark more
        than once we need to reset the output count