Thermal boundary resistance in semiconductors by non-equilibrium thermodynamics