reem_hardware_gazebo: replace deprecated boost pointer cast