drm/amd/pm: optimize the amdgpu_pm_compute_clocks() implementations