Japanese benchmarks gained about 0.8%, supported by weakness in the yen as the country’s economic growth slowed.