Stable algorithms for generalized thermoelasticity based on operator-splitting and time-discontinuous Galerkin finite element methods