helper: Fixing bug with ndn::GlobalRoutingHelper

With certain metric parameters, the value was incorrectly wrapped
around zero, leading to incorrect route calculation (BoostGrapLibrary
was detecting negative edge weights).