THIRD AMENDMENT TO AMENDED AND RESTATED INVESTMENT ADVISORY AGREEMENT