SECOND AMENDMENT AND RESTATEMENT AGREEMENT dated 18 May 2017 between GULFMARK REDERI AS as Borrower and The other Loan Parties party hereto