Effects of damping on stability of elastic systems subjected to nonconservative forces