realtek: properly update port masks when port leaves bridge