Gold futures finish at their highest level in about 3 weeks