Pierre Gasly has been reinstated to third place at the Monaco Grand Prix after Alpine successfully overturned the French driver's speeding penalties.