Add single-threaded path to malloc/realloc/calloc/memalloc