Enable tegra optimizations in matchTemplate algorithm