A history professor in South Korea is facing jail for a controversial book on so-called “comfort women”.