keg: skip opt versioned aliases for devel/head.
keg: skip opt versioned aliases for devel/head.

These versioned aliases don’t correspond to the correct version if not
Installed from stable.

Fixes #2596.

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