Use macro magic to let panic() show context.

The panic() function is now actually a macro, and it expands to grab
the enclosing function name, the filename, and the line number of the
panic() call.