fixing java test after fix in OpenCV library
Merge pull request #1226 from apavlenko:fix_java_test_ellipse2poly