gold gains over $9 for the week as oil retakes $51