test: disable core dumps before running crash test
The test spawns a subprocess with the --abort-on-uncaught-exception
flag and expects it to terminate with a SIGABRT signal.
On systems where core dumps are enabled, that actually generates an
unnecessary core dump. Set ulimit -c 0
before spawning the subprocess.
Fixes: https://github.com/nodejs/node/issues/29286
cc @juanarbol - this is one way of doing it. :-)