Fix java test ellipse2poly

It became broken after a fix in `cv::ellipse2Poly()` recently