A uniqueness theorem in generalized thermoelasticity