Fix division by zero in gcoder duration estimator