Add memdup/strdup functions immediately to alloc module.