Bump template-haskell version to 2.18.0.0
This requires bumping the exceptions and text submodules to bring in
commits that bump their respective upper version bounds on template-haskell.
Currently blocked on https://github.com/haskell/text/pull/320.
Fixes #19083 (closed).
Edited by Ryan Scott