diagnostic: improve check for 'install_name_tool'
diagnostic: improve check for 'install_name_tool'

`install_name_tool` location depends on the location of the active developer
directory managed by `xcode-select`.

Closes Homebrew/homebrew#50509.

Signed-off-by: Mike McQuaid <a17fed27eaa842282862ff7c1b9c8395a26ac320@mikemcquaid.com>

vitorgalvao/brew,mistydemeo/homebrew,rwhogg/brew,palxex/brew,pseudocody/brew,maxim-belkin/brew,amar-laksh/brew_sudo,EricFromCanada/brew,gordonmcshane/homebrew,alyssais/brew,gordonmcshane/homebrew,reitermarkus/brew,Homebrew/brew,vitorgalvao/brew,staticfloat/brew,sjackman/homebrew,ilovezfs/brew,mahori/brew,reitermarkus/brew,JCount/brew,pseudocody/brew,Homebrew/brew,mahori/brew,Linuxbrew/brew,tonyg/homebrew,gregory-nisbet/brew,MikeMcQuaid/brew,reelsense/brew,vitorgalvao/brew,DomT4/brew,MikeMcQuaid/brew,amar-laksh/brew_sudo,hanxue/linuxbrew,palxex/brew,jmsundar/brew,claui/brew,EricFromCanada/brew,gregory-nisbet/brew,sjackman/homebrew,jmsundar/brew,MikeMcQuaid/brew,EricFromCanada/brew,AnastasiaSulyagina/brew,bfontaine/brew,vitorgalvao/brew,AnastasiaSulyagina/brew,ilovezfs/brew,mistydemeo/homebrew,mgrimes/brew,ilovezfs/brew,nandub/brew,aw1621107/brew,nandub/brew,rwhogg/brew,gordonmcshane/homebrew,Linuxbrew/brew,muellermartin/dist,toonetown/homebrew,konqui/brew,mistydemeo/homebrew,toonetown/homebrew,JCount/brew,amar-laksh/brew_sudo,DomT4/brew,konqui/brew,maxim-belkin/brew,sjackman/homebrew,staticfloat/brew,MikeMcQuaid/brew,mahori/brew,muellermartin/dist,EricFromCanada/brew,reelsense/brew,hanxue/linuxbrew,Homebrew/brew,toonetown/homebrew,aw1621107/brew,maxim-belkin/brew,konqui/brew,tonyg/homebrew,zmwangx/brew,tonyg/homebrew,Homebrew/brew,nandub/brew,Linuxbrew/brew,claui/brew,reelsense/brew,reitermarkus/brew,palxex/brew,pseudocody/brew,DomT4/brew,JCount/brew,jmsundar/brew,rwhogg/brew,JCount/brew,alyssais/brew,zmwangx/brew,hanxue/linuxbrew,nandub/brew,mgrimes/brew,AnastasiaSulyagina/brew,DomT4/brew,zmwangx/brew,muellermartin/dist,sjackman/homebrew,aw1621107/brew,gregory-nisbet/brew,bfontaine/brew,Linuxbrew/brew,mahori/brew,claui/brew,bfontaine/brew,alyssais/brew,claui/brew,konqui/brew,reitermarkus/brew,mgrimes/brew,staticfloat/brew