Singular limit of viscous Cahn-Hilliard equations with memory and dynamic boundary conditions