Don't cache solved [W] HasCallStack constraints
Ticket: #25529 (closed).
This MR ensures we do not add solved Wanted constraints that mention
HasCallStack
or HasExceptionContext
constraints to the set of solved
Wanted dictionary constraints: caching them is invalid, because re-using
such cached dictionaries means using an old call-stack instead of
constructing a new one.