shell: remove tmp_title in window_title_update

it is not needed and makes the code more confusing.