[asan] make the __asan_get_heap_size more robust