quartz/tests: Introduce commit_allocator helper in vmr7.c.