[AMDGPU] Fix handling of setting register classes in MFMA scheduler rewrite stage (#181047)
Fixes problem with setting/resetting register classes in the MFMA
rewrite sched stage. The code assumed that the dest and OpC would be the
same class. This is not true if one uses subregs. This fixes issue
#177696.