shell-completion: bash: Localize word variable
The word variables used in the _pactl and _pacmd functions are unlocalized. Thus, the variable appears in the user's environment when tab-completing with pactl or pacmd. This may clobber another variable of the same name, which is undesirable.
Localize the word variable to fix this issue.