vmem: fix sporadic segfault in MALLOCX_ARENA unit test

Ref: pmem/issues#15