QPID-5339 - Fixed thread safety issue in the type allocator initialization - Added a memory test-mode to check for under/over-run of allocated space.