avcodec/utvideodec: Fix handling of slice_height=0