This PR reset cursor state in the `stmt.reset()` method because under the hood statement caches some BTree state which can be no longer valid at the moment of next statement run. Reviewed-by: Preston Thorpe <preston@turso.tech> Closes #3859
RefValue
CAST
turso_assert