[asan] Fix coverage instrumentation with -asan-globals=0.