escape messages to avoid CMake warning

Related to #667 but I can't reproduce that one since it fails much earlier in catkin_make when trying to parse the invalid xml.

Anyway the error message should be escaped to avoid a CMake warning.

@tfoote @wjwwood Please review