[PATCH 6.7 327/641] drm/amdgpu/debugfs: fix error code when smc register accessors are NULL