The effect of initial stress and inhomogeneity on the thermoelastic stresses in a rotating anisotropic solid