Bump template-haskell version to 2.18.0.0
Type applications in patterns made a breaking change to the template-haskell
API, and as a result, we need to bump the template-haskell
version to 2.18 to reflect this change. Also, the libraries/template-haskell/changelog.md
entry for type applications in patterns was incorrectly mentioned in the section for template-haskell-2.17.0.0
, which is slated to be released with GHC 9.0.1, not with 9.2.1, which is when type applications in patterns will debut.