expanded the CV_Assert in pyrdown_ to check for empty mats



this should fix [#3094](http://code.opencv.org/issues/3094)

tested with 2.9.0, and 2.4.2 and the endless loop happens a bit earlier as originally posted ( endless loop in borderInterpolate() )