builtin-branch.c: optimize --merged and --no-merged