make serialization of bool values more robust against uninitialized values
make serialization of bool values more robust against uninitialized values

ros2/rmw_fastrtps,ros2/rmw_fastrtps,jwang11/rmw_fastrtps,jwang11/rmw_fastrtps,eProsima/ROS-RMW-Fast-RTPS-cpp