Former Premier League referee Dermot Gallagher believes officials made the correct decision to rule out Kai Havertz's late goal against Aston Villa.