[imgproc]Add template match with mask.

Signed-off-by: Yan Wang <yan.wang@linux.intel.com>