Need remove all lines with GTID_PURGED
sed -i '/@@GLOBAL.GTID_PURGED=/d' your_file.sql
The final file will load without problems