Use HOMEBREW_PREFIX/opt to find installs instead of symlinks in bin, lib, sbin.

Closes #25868.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>