On the decay of the energy for systems with memory with indefinite dissipation