Porous MHD convection: stabilizing effect of magnetic field and bifurcation analysis