kernel warnings on AMD
fixed compilation of ocl::minMaxLoc for Intel device
Merge pull request #1789 from ilya-lavrenov:ocl_minMaxLoc
Merge pull request #1785 from ilya-lavrenov:ocl_kern_warn
perf tests: allow to skip performance tests
ocl: perf tests: skip tests if we fail check for maxMemoryAllocSize