fix cv::gpu::resize for INTER_LINEAR, now it produces the same result as CPU version
(cherry picked from commit da9be8231fc153fd70ac4f4d41091d1653d00fd2)