On the existence of three closed magnetic geodesics for subcritical energies