NEW etc.: Use NEW at non-formulaic call sites
Manually replace calls to safe_malloc with NEW. Calls where
safe_malloc was used to allocate a byte array (or a string buffer) are
left alone.
Some simple calls to allocate a single object are replaced with NEW.
(in COMM_APPLY, init_log, resolve_request, transform_cbcmac_module,
TRANSFORM_CREATE_CORE).
Some calls which were allocating arrays are replaced with NEW_ARY
(in dict_keys, ipset_new).
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>