KAFKA-20760: Stage position updates in InMemoryKeyValueStore transaction buffer (#22743)