mariadb_ctrl turns off replication before running mysql_upgrade on all nodes

- [#75554548]