Scale memtable slab allocation logarithmically

patch by benedict; reviewed by jay patel for CASSANDRA-7882