Fix regexp matching in magit-long-log

Previously when the graph had discontinued graph-lines the layout broke.
Such discontinued graph-lines occur for example when using `--author='
or `--grep='.  This commit fixes this.

As a secondary effect of this fix the git-log `-z' option is no longer
required.