gold closes 0.4% lower at $1,774.30 an ounce