Attempt to fix segfaults in finalizers.

Remove all finalizers from SQLiteStmt and instead explicitly close any
instances of SQLiteStmt.