Thermal Stresses in a Nonhomogeneous Semi-Infinite Elastic Solid under Steady Distribution of Temperature