Asymptotic stability for ordinary differential systems with time-dependent restoring potentials