MEGA: Second-Order Gradient Alignment for Catastrophic Forgetting Mitigation in GFSCIL