wt-status: move strbuf into read_and_strip_branch()