Convergence to equilibrium for second order differential equations with weak damping of memory type