opencv: define CASCADE_DO_CANNY_PRUNING for opencv < 4

3 jobs for master in 8 minutes and 9 seconds (queued for 13 minutes and 8 seconds)
Status Name Job ID Coverage
  Preparation
passed manifest #50266

00:00:18

 
  Build
passed build fedora x86_64 #50267

00:04:20

 
  Full Builds
passed build android arm64 api28 #50268

00:03:29