Effects of a compliant interphase layer on internal thermal stresses within an elliptic inhomogeneity in an elastic medium