Former Premier League referee Dermot Gallagher has backed the decision to introduce semi-automated offside technology at the Qatar World Cup.