fix bug #3562:

add missing __syncthreads to edgesHysteresisLocalKernel
Merge pull request #2380 from jet47:fix-3562