Adding explicit variable conversion in ocl_medianFilter() to suppress build errors on Linux & Mac