git-log-branch: Stop at merge commits

In the case of merges for which no ref points to the second parent, we
know that we have reached a lower bound despite the fact that the merge
commit may only techically be reachable from a single branch head.