Fast Discrete Consensus Based on Gossip for Makespan Minimization in Networked Systems