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