cpp: Handle canceling of an edit operation
* lang/cpp/src/editinteractor.cpp (CallbackHelper::edit_interactor_callback_impl): Check for error _or_ canceled state.
Without this canceling an edit operation resulted in a "General error".
- GnuPG-bug-id: T5904