Use Components.stack for console.{error,exception,assert} if JSD is unavailable

In the process this also makes preferJSDSourceLinks do nothing without
JSD enabled.