Gold prices snap back after longest weekly losing streak in 12 years