Gold futures settle at a nearly 5-week low