Interaction between migrating bars and bifurcations in gravel-bed rivers