[libunwind] Fix testing with sanitizers enabled