Gold settles up $4.40, or 0.4%, at $1,258.40 an ounce