Controlled Excitation of Magnons through Optically Induced Mie Resonances in Periodic Dielectric Nanostructures