Fix tests for gpu::matchTemplate

use ASSERT_FLOAT_EQ to compare float values, it is more robust for
large values