[PATCH 6.5 236/550] drm/amd/display: Refactor dm_get_plane_scale helper