[ros] fix wire type for compiled ROS types

See #149, thanks @miaragao