[PATCH 5.4 127/194] drm/amdgpu/debugfs: fix error code when smc register accessors are NULL