asan: fix standalone malloc implementation