[AMDGPU] Mark scavenged SGPR as used

Otherwise it reuses the same register for storing the stack slot
offset if the stack slot offset is big.

Differential Revision: https://reviews.llvm.org/D100461

GitOrigin-RevId: 929edd4375a40fcf264426ac4f2b3d8fa9c72970
3 files changed