Add cxxstdlib_check method to request changing C++ stdlib checking.

* In certain cases, a C++ software may result in linking to a different
  and incompatible C++ standard library than its dependencies and still
  works fine because it is by design. Examples include GCC, which will
  bootstrap itself and self-host after finish.

* Add a cxxstdlib_check method to formula to request changing the C++
  standard library checking. Currently using "cxxstdlib_check :skip"
  will let a formula skip such checking. This should only be used on
  rare occasions and be very careful.

Closes #23687.
Fix regression in `brew deps`

The default mode is intended to display recursive dependencies, with the
`--1` flag to display only one level.