FOURTH AMENDMENT TO FOURTH AMENDED AND RESTATED MASTER REPURCHASE AGREEMENT