avfilter/dctdnoiz: fix slice_h computation