Fix deadlock between MYSQL_BIN_LOG::purge_logs_before_date() and show_binlogs(SHOW MASTER LOGS)