Buckling of a ferromagnetic thin plate in a transverse static magnetic field