Path-independent H-integral for interface corners under thermal loadings