Dependence of instability strain upon damage in thermoviscoplastic materials