Thermo‐mechanical adjustment after impacts during planetary growth