[GHC] #9402: Vestigial external core code in genprimops