Fix buffer overflow in handling of SQLTables params.
Fix buffer overflow in handling of SQLTables params.

Found by Fortify static analysis tool.

gavioto/psqlodbc,treasure-data/prestogres-odbc,gavioto/psqlodbc,treasure-data/prestogres-odbc,hlinnaka/psqlodbc,treasure-data/prestogres-odbc,gavioto/psqlodbc,hlinnaka/psqlodbc,hlinnaka/psqlodbc