McCarthy set to join Leinster