[asan] Add a few stubs to fix windows build.