[Git][ghc/ghc][wip/mangoiv/27817] ci: make lint-adjacent jobs into platform independent