mariadb: fix compilation with newer fmt