KAFKA-20760: Stage position updates in InMemorySessionStore transaction buffer (#22745)