FIFTH AMENDMENT AND BORROWING BASE REDETERMINATION AGREEMENT