Fixed crash in starting with HP_MALLOC
The HP allocator seems to init its stats after the statistics collector starts, so any malloc operatation translates into a crash (before init'ing the stats colector).
Move the first shm malloc after the the collector init.
Reported by Nick Altmann
(cherry picked from commit 5fa431eb2b95fa7e275c9323a0c139bd3d929050)