drm/amdgpu: use post-decrement in error handling