remote: release strbuf after use in read_remote_branches()