Gold declines into third weekly loss