[MariaDB commits] [PATCH 3/4] MDEV-31273: Refactor MYSQL_BIN_LOG::write_cache()