Expose the V8 gc() function to the script runtime