Enabled Intel-specific optimizations for HOG detector.
Fixed incorrect thread synchronizations
Merge pull request #2500 from akarsakov:hog_intel_fix