Gold settles up $5.30, or 0.5%, at $1,142.70 an ounce