util: Fix wrong usage of Error.prepareStackTrace

The return value of Error.prepareStackTrace will become the result
of Error.stack accesses. Setting Error.stack inside this callback
relies on the fact that the magic get accessor detects the change in
the middle of formatting, and is unnecessary in this instance.
diff --git a/lib/internal/util.js b/lib/internal/util.js
index b3fdff2..6d68519 100644
--- a/lib/internal/util.js
+++ b/lib/internal/util.js
@@ -351,7 +351,7 @@
     // the perf implications should be okay.
     getStructuredStack = runInNewContext(`(function() {
       Error.prepareStackTrace = function(err, trace) {
-        err.stack = trace;
+        return trace;
       };
       Error.stackTraceLimit = Infinity;