This is follow up for #36477. We need to switch to more robust way of generating random test geoshapes by reusing lucene's GeoTestUtil.