[PATCH 6.4 370/800] drm/radeon: fix possible division-by-zero errors