Thanks for reporting! Do you want to submit your patch as a Merge Request at https://salsa.debian.org/mariadb-team/mariadb-10.5 ? Unfortunately the upstream PR https://github.com/MariaDB/server/pull/1556 is still pending.
Out of curiosity, why do you use the file at all? Why did you remove the MariaDB root account from your system?