Gold futures log highest settlement in nearly 6 weeks