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 (with 2.8.12 and newer).

@tfoote @wjwwood Please review