On an approach to studying the stability of shock waves in a viscous gas