Tim Leahey claims pole position for the Bathurst 6 Hour