Port fix for stdin support in mysqlbinlog from MariaDB to Google MySQL.