fix tests for gpu::matchTemplate:

use ASSERT_FLOAT_EQ to compare float values, it is more robust for
large values
Merge pull request #3545 from jet47:gpu-match-template-tests