Gold cuts losses for the week as political concerns roil the U.S. dollar, stocks