Gold futures prices mark first gain in three sessions