gold closed lower on friday