Remove usage of deprecated `xformat`.

Replace `xformat` with `format`.
Add `unstd.c.string.toCString`.

Also make `unstd.memory.allocation.memory{Add,Mult}` public.
Fix possible integer overflow in `unstd.c.string.tempCString`.