[PATCH openEuler-5.10 363/427] drm/nouveau/clk: Fix an incorrect NULL check on list iterator