shared-mem-locks: move slow worker setup to childinit