[PATCH 5.15 035/297] drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL