[PATCH 5.4 018/159] drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL