Support stage 1 Template Haskell (non-quasi) quotes, fixes #10382.