Always pass -headerpad_max_install_names to the linker

We use install_name_tool pretty liberally, so we need to take steps to
ensure libraries and executables are always linked with this flag.

Closes #20233.
Fixes #17984.
Fixes #22078.