Pierre Gasly has claimed his first-ever pole position after topping the qualifying session for the Italian Grand Prix.