srf10_controller.cpp: replace deprecated set_XXX_size calls

The ``set_XXX_size``-style methods are deprecated and have been completely
removed in hydro. Replace them with calls to ``resize`` as recommended in the
migration notes[1].

[1] http://wiki.ros.org/fuerte/Migration