gold turns higher, at $1,231 an ounce