git-gui: Unlock the index when cancelling merge dialog