Added missing gpu::matchTemplate implementation for non-CUDA build