Follow symlinks when doing the assert check in tests other.test_argv0_node and other.test_EMCC_BUILD_DIR to fix the tests. Fixes #2846.