THIRD AMENDMENT TO CREDIT AGREEMENT among DUNE ENERGY, INC., as the Borrower,