gold futures retreat, but poised for a weekly gain