Permit use of custom allocator for memtables

patch by Jay Patel; reviewed by benedict for CASSANDRA-7883