Handle non-standard leading whitespace on V8 stack frames (occurs when users
have defined Error.prepareStackTrace).

Also, do not format stack trace if every frame is an unrecognized format.

Fixes issue 7994.