[PATCH openEuler-5.10 42/72] drm/i915/overlay: Prevent divide by zero bugs in scaling