Gold set for first weekly gain in three as US dollar, yields slip