Add bash completion support for "brew switch"

First autocompletes on the names of installed packages and then
autocompletes on available versions for that specific package

Closes #25051.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>