Parallize building kmeans index in flann
- Use cv::Mutex to safely update converged flag
- Use cv::AutoBuffer rather than new allocation
- Fix "assignment operator could not be generated" warning
Fix "assignment operator could not be generated" warnings
Merge pull request #3458 from thorikawa:kmeans-index-parallel