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 Job ID Name Coverage
  Preparation
passed #50266
manifest

00:00:18

 
  Build
passed #50267
build fedora x86_64

00:04:20

 
  Full Builds
passed #50268
build android arm64 api28

00:03:29