Abort `gcimend` when MERGE_MSG exists

To avoid unintentional `commit --amend` in merging conflicts.
Use MERGE_MSG as the marker because MERGE_HEAD does not exists in rebase-merge.