sql.js: fix statement not being freed when query fails
sql.js: fix statement not being freed when query fails

When the execution of a sql query goes wrong the allocated
storage wasn't released.

typeorm/typeorm,gintsgints/typeorm,gintsgints/typeorm,typeorm/typeorm,typeorm/typeorm