SECOND AMENDMENT TO CREDIT AGREEMENT AMONG REX ENERGY IV, LLC, as Borrower, KEYBANK NATIONAL ASSOCIATION, as Administrative Agent, and The Lenders Signatory Hereto Effective as of July 25, 2007