AMC Nets $917 Million in Financing to Ward Off Bankruptcy