Fixed typo in how joint state names are read from rosparam.

This fixes a typo in the fuerte branch where the joint names for /joint_states were being incorrectly populated from the list of chain names instead.