SIXTH AMENDMENT TO DEBTOR-IN-POSSESSION CREDIT AGREEMENT, LIMITED CONSENT AND AMENDMENT TO SECURITY AGREEMENT