configure: support MariaDB Connector/C
If libmariadb is installed from the MariaDB server package, the pc file
is "mariadb.pc". But when MariaDB Connector/C is used, it's actually
"libmariadb.pc". This commit adds the latter to the detection.
Signed-off-by: Sebastian Kemper <[email protected]>