gold futures close slightly lower, as oil declines