hector_gazebo_plugins: fixed a bug in UpdateTimer class when updateRate and updatePeriod parameters are unset