[packages] mariadb: add cmake options

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>