Dow up 0.4 pct; S&P 500 up 0.3 pct; Nasdaq off 0.02 pct (Updates to close) By Akane Otani NEW YORK, Aug 20 (Reuters) - U.S. stocks ended mostly higher on Wednesday, with the S&P 500 just missing a record close, after …