A peculiar topological Hall effect in noncentrosymmetric ternary carbide GdCoC2