Clean up rcl_expand_topic_name() implementation. (#757)
Clean up rcl_expand_topic_name() implementation. (#757)

Signed-off-by: Michel Hidalgo <2c7f9fd20fbeb41ce8894ec4653d66fa7f3b6e1a@ekumenlabs.com>
ros2/rcl,ros2/rcl