gold futures score first gain in six sessions