hector_gazebo_plugins: fixed UpdateTimer class

Usage of the fmod() function to check if the current sim time hits a period+-(step time/2) leads to numerically instable results.