Gold futures mark highest finish in about 5 months