gold settles higher, recoups part of tuesday loss