Effect of a High-Power Light Pulse on the Trajectory of Magnetostatic Waves in the Presence of a Linearly Nonuniform Field