Gold prices score first gain in four sessions