Stability of Cracked Functionally Graded Graphene-Reinforced Beams under Magnetic Field