Fix pyodbc mock cursor iterator next behavior