Adds a feature where a client library can request that the private loader complain if malloc & co. are called at any time other than process init or exit, to help clients that want to support being linked statically with the app.
Fixes drcachesim to use placement new for its offline custom module data allocations.
Issue: #975, #2006 (closed)