Don't protect malloc call with system mutex in main server loop.

Not required to synchronize malloc calls, it's threadsafe on all supported platforms.

This partially backports f55a6610fbfcd078c1e2a58cd0da94efef35cc2d