tg-tag.sh: allow choosing a consolidation commit's first parent