gold snaps losing streak with 0.8% weekly gain