Fix: tools: improve error handling when modifying configuration
Previously, a CRM_CHECK() call contained a "continue" statement, which had no
effect because it is a macro that wraps code in "do...while(0)".
This catches errors earlier as intended, and makes coverity happy.