test: fix setTimeout, remove unused err
file: test/parallel/test-domain-uncaught-exception.js
There are three setTimeout() in the file and they do not specify a duration (the second argument), so I change them to setImmediate() instead.
There are four callbacks that take an argument called err but that argument is never used, I just removed them.