THIRD AMENDMENT TO FIRST AMENDED, RESTATED, AND CONSOLIDATED LOAN AND SECURITY AGREEMENT