A complex Tauberian theorem and mean ergodic semigroups