avfilter/mint: Use rounded division for better accuracy.