Refactored sql_check_table_exists and sql_check_table_schema to use sql_exec_stmt
Refactored sql_check_table_exists and sql_check_table_schema to use sql_exec_stmt

luciad/libgpkg,luciad/libgpkg,luciad/libgpkg