T-API: fix bitwise ops, mask support in cv::norm