template-haskell: Run TH splices with err_vars from current context
Otherwise, errors can go missing which arise when running the splices.
Fixes #19470 (closed)
Otherwise, errors can go missing which arise when running the splices.
Fixes #19470 (closed)