[PATCH 6.1 052/372] drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL