[asan] simplify the code that poisons global redzones, add some more tests