[imgproc]Add template match with mask.

Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
I believe the introducing another one function is a wrong way. You can add an optional parameter to usual `matchTemplate` and check inside whether `_mask` is empty or not