opencl: fix border handling in lens correction module

also apply similar changes to clipping module