db_unixodbc: use odbc_config to find paths for include and libs
db_unixodbc: free local variables in case of errors or no result

- reported by Alex Villacís Lasso