Analysis of the Thermodynamic Consistency of the Richardson–Duhmann Model for Thermionic Converters