Update the handling of SRet to match other typical backends