bug #3094: added CV_Assert to PyrDown_()

added CV_Assert to PyrDown_ to check if source matrix is not empty