* dnn: fix CumProd crash when the scan axis has length 0
* dnn: use Mat::empty() for the CumProd empty-input check
Return early from forwardImpl() when the input has no elements. The output already has the right empty shape. The check comes after normalize_axis(), so an out-of-range axis is still reported.