The financial problems of automaker General Motors may put a dent in the profitability of its restructured mortgage unit, which recently received debt ratings that could make capital more expensive than it otherwise would be. Both Standard & Poor’s and Fitch Ratings said that their ratings of Residential Capital Corp., a holding company formed by GM last month for its GMAC Mortgage and Residential Funding Corp. units, would have been higher if the company