Fixed an overly-narrow assertion in cv::norm.

size() requires that the matrix is two-dimensional, and norm()
works on higher dimensions.
Removed some duplicate assertions.
Merge pull request #2160 from SpecLad:norm-assert