[PATCH 6.1 209/417] drm/amdgpu/debugfs: fix error code when smc register accessors are NULL