[RISCV][CFI] Preserve CFI instructions around CM_POP and RET (#246963)
Emit CFI restore directives and update the CFA offset after CM_POP,
except when followed by RET. Update the POPRET fusion pass to match
CM_POP and RET across debug instructions. Remove CFI directives between
foldable CM_POP and RET. Update affected tests accordingly.
Follow up #245548