Bug 741352: Cage tool crashes pressing Enter after Esc

(cherry picked from commit af64a104c39551534ac9c90bd8b6c624502e95d7)

Conflicts:
	app/tools/gimpcagetool.c