Gold on track to log weekly gain as U.S. dollar slips