Fix a bug found on Intel OpenCL SDK.
Merge pull request #843 from pengx17:2.4_stereobp_fix