[GHC] #13823: Use NonEmpty lists in more places in the GHC API