opencl opticaflow fix that enables buffer2image extension
fix according review
Merge pull request #2800 from krodyush:pullreq/140516-opticalflow-imgext-fix