Japan’s Line Corp swings to first-half net profit on ad revenue boost