Alvarado leads Kim by three shots after third round at Brasil Classic