gold turns slightly higher ahead of comex close