3rd attempt to prepare patch with improved OpenCL kernels of CascadeClassifier.
hopefully fixed compile warnings and the doc builder warnings
Merge pull request #2265 from vpisarev:ocl_facedetect_amd3