Remove unnecessary if check and local variables.

From fast_nlmeans_denoising_opencl.hpp, this condition check is
unnecessary.