McLaughlin claims Bathurst pole position