avcodec/snowenc: Set mb_num to avoid ratecontrol floating point divisions by 0.0