Thermodynamic influences on acceleration waves in inhomogeneous isotropic elastic bodies with internal state variables