bash-completion: upstream fix for GNU extended regex

This bug is fixed in HEAD, but the patch doesn't apply cleanly to the
1.x source so we can't link directoy to the commit.