HPCC-10072 - Avoid roxiemem allocator cache deadlock

ensure() calling createAllocator could cause other threads
to deadlock on cache calls.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>