Gold extends gains for 3rd straight day on safe haven demand