magit-commit-add-log: properly abort if nothing is committed

See #1438.
Merge branch 'master' into next

Conflicts:
	magit.el