[PATCH openEuler-1.0-LTS 1/2] drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL