Bifurcation analysis of the primary instability in the flow around a flexibly mounted circular cylinder