test/symbols-leak-test: make it work with macOS diff