fix pyrLK's mismatch on Intel GPUs
fix Linux build errors
fix hog
fix memory leak
Merge pull request #916 from bitwangyaoyao:2.4_fixPyrLK