Optimizes OpenCL resize and optical flow to use image extension.
Merge pull request #2621 from arkunze:pullreq/140319-resize-b