AMENDMENT NO. 3 TO DEBTOR-IN-POSSESSION CREDIT AND NOTE PURCHASE AGREEMENT