Gold futures retreat, pare gains for the week