Fix declaration of internal libmysql functions for MariaDB.