win: always leave crit section in get_proc_title

fix #1235