Fixed calc_output_scale with NO_OUTPUT_SCALE flag set.
Fixed calc_output_scale with NO_OUTPUT_SCALE flag set.

opencv/opencv,opencv/opencv,apavlenko/opencv,opencv/opencv,apavlenko/opencv,apavlenko/opencv,opencv/opencv,opencv/opencv,apavlenko/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,apavlenko/opencv,apavlenko/opencv