Documentation fix for cv::compare (issue 3149)

Since commit d8417af0860 (July 2011) cv::compare produces an array with
the same size and type as the input arrays.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>