Viñales records third pole of the year