[PATCH 4.14 043/204] drm/radeon: fix possible division-by-zero errors