WUtil: make sure wmalloc/wrealloc won't fail because of abort handler