suppress boost::signals deprecation warning

The approach to use local defines is favored over a global `add_definition()` in CMake since it will suppress warning only for the code in ros_comm. If user code uses the boost signal header they will still get the warning and have to suppress them on their own.