Add a way to flag a frame as a "thunk".

This will allow us to ignore it in certain situations when considering
caller and outer chains.