An iterated logarithm type theorem for the largest coefficient in continued fractions