rtt_dynamic_reconfigure_tests: fixed deprecated boost::shared_dynamic_casts