protect when Error does not have a "stack"

While it is a fairly safe assumption that anything that evaluates instanceof Error as true will have a stack, it is possible that it won't.  This PR prevents crashes in that case.

Check out https://github.com/auth0/express-jwt/pull/21 for an example