[PATCH 4.19 102/148] drm/amdgpu/debugfs: fix error code when smc register accessors are NULL