Singular limit of dissipative hyperbolic equations with memory