databases/soci: Fix packaging errors on no ODBC
PR: 264537 Reported by: Stéphane D'Alu <sdalu@sdalu.com>