Add GTID interface and implement for Google MySQL and MariaDB.