Local attractivity for integro-differential equations with noncompact semigroups