[NewPM][Target] Mark pipeline overrides as protected (#244491)
Otherwise we are changing the visibility from the parent
CodeGenPassBuilder class to public.
This is flagged by misc-override-with-different-visibility, which is new
in clang-tidy as of v23.