JAL flight makes emergency landing in northern Japan