Magnetic Stability of Functionally Graded Soft Ferromagnetic Porous Rectangular Plate