tests/memtable: fix partition_range use-after-free
tests/memtable: fix partition_range use-after-free

scylladb/scylla,avikivity/scylla,scylladb/scylla,scylladb/scylla,scylladb/scylla,avikivity/scylla,avikivity/scylla